gcov: a Test Coverage Program

Contents|Index|Previous|Next
`gcov`: a test coverage program

gcov is a tool you can use, together with GNU CC, to test code coverage in your programs. gcov is free software, but for the moment it is only available from Cygnus (pending discussions with the FSF about how they think Cygnus should really write it). The following documentation discusses and describes version 1.5 of gcov.

- Introduction to gcov test coverage
- Invoking the gcov program
- Using gcov with GCC optimization
- Brief description of gcov data files

Jim Wilson wrote gcov, and the original form of this documentation. Pat McGregor edited the documentation.